<!DOCTYPE html>
<html>
<head>
	<style>
		body{
			font-family: Arial, Helvetica, sans-serif;
			font-size: 18px;
			line-height: 40px;
		}
		dt{
			font-weight: bold;
			color: blue;
		}
	</style>
<meta charset="ISO-8859-1">
<title>How To Generate Cue Points</title>
</head>
<body>
<h1>How To Generate Cue Points</h1>
<ol>
	<li>Write audio text in cuepoints folder for each slide</li>
	<li>Generate voice for each text file</li>
	<li>Run CuePoints.bat to get CuePoints.txt and paste this information in deck.html</li>
	<li>Run MergeMP3.exe from tools folder. Add mp3 files from cuepoints folder and merge into audio.mp3</li>
	
</ol>
<p>run the index.html to hear the audio.</p>

<h1>balabolka Options</h1>
<dl>
	<dt>-p integer</dt>
	<dd>sets the pitch in a range of -10 to 10 (the default is 0)</dd>
	<dt>-s integer</dt>
	<dd> sets the speed in a range of -10 to 10 (the default is 0)</dd>
	<dt>-v integer</dt>
	<dd>sets the volume in a range of 0 to 100 (the default is 100)</dd>
	<dt>-n voice_name</dt>
	<dd>Sets the voice name (the part of the name will be enough)</dd>
	<dt>-e integer</dt>
	<dd>Sets the length of pauses between sentences (in milliseconds). The default is 0</dd>
	<dt>-a integer</dt>
	<dd>Sets the length of pauses between paragraphs (in milliseconds). The default is 0</dd>
	<dt>--silence-begin integer</dt>
	<dd>Sets the length of silence at the beginning of the audio file (in milliseconds). The default is 0</dd>
	<dt>--silence-end integer</dt>
	<dd>Sets the length of silence at the end of the audio file (in milliseconds). The default is 0</dd>
	<dt>-f text_file</dt>
	<dd>Sets the name of input text file</dd>
	<dt>-o</dt>
	<dd>writes sound data to STDOUT</dd>
	<dt>--raw</dt>
	<dd>output is raw PCM; audio data does not contain the WAV header. The option is used together with the option -o</dd>
	
</dl>
<p></p>

<h1>Lame Options</h1>
<dl>
	<dt>-r</dt>
	<dd>assume input file is raw PCM</dd>
	<dt>-h</dt>
	<dd>High quality</dd>
	<dt>-s  n</dt>
	<dd>input sampling frequency in kHz (for raw PCM input files)</dd>
	<dt>-m m</dt>
	<dd>mono</dd>
	<dt>-m s</dt>
	<dd>Stereo</dd>
	<dt>-S</dt>
	<dd>silent operation - don't print progress report</dd>
	<dt></dt>
	<dd></dd>
	<dt></dt>
	<dd></dd>
</dl>

<h1>Using the pipe operator (|)</h1>
<p>The pipe operator (|) takes the output (by default, STDOUT) of one command and directs it into the input (by default, STDIN) of another command.</p>
<p>For example, the following command sorts a directory:</p>
<p>dir | sort</p>
<p>In this example, both commands start simultaneously, but then the sort command pauses until it receives the dir command's output. The sort command uses the dir command's output as its input, and then sends its output to handle 1 (that is, STDOUT).</p>

<h1>Definitions</h1>
<dl>
	<dt>Sentence</dt>
	<dd>
		<p>Sentence begins with a capital letter and ends with a period, question mark, or exclamation point.</p>
		<ul>
			<li>A Sentence MUST start with a Capital letter if on the same line, If it starts on new line then may start with small letter.</li>
			<li>A sentence MUST have one space before the previous sentence or start with a new line</li>
		</ul>
	</dd>
	<dt>Paragraph</dt>
	<dd>
		<p>A group of closely related sentences that develop a central idea.</p>
		<p>In balabolka, A paragraph MUST have one blank line above.</p>
	</dd>
</dl>

<h1>Voice XML</h1>
<h3>Silence</h3>
<p>Five hundred milliseconds of silence</p>
<pre>&lt;silence msec=&quot;500&quot;/&gt;</pre>
<h3>Context</h3>
<pre></pre>
&lt;context id=&quot;date_mdy&quot;&gt; 03/04/01 &lt;/context&gt; should be March fourth, two thousand one.
&lt;context id=&quot;date_dmy&quot;&gt; 03/04/01 &lt;/context&gt; should be April third, two thousand one.
&lt;context id=&quot;date_ymd&quot;&gt; 03/04/01 &lt;/context&gt; should be April first, two thousand three.
</pre>
<h3>Voice change</h3>
<p>Change voice of a sentence to "Paul"</p>
<pre>
&lt;voice required=&quot;name = VW Paul&quot;&gt;
	Hi! This is Paul.
&lt;/voice&gt;
	Hi! This is the default voice.
</pre>

</body>
</html>